package com.st.springbootswagger.controller;


import com.st.springbootswagger.domain.SysUser;
import com.st.springbootswagger.service.SysUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;


 /**
 * 用户信息表;(sys_user)表控制层
 * @author : http://www.chiner.pro
 * @date : 2023-9-22
 */
@Api(tags = "用户信息表对象功能接口")
@RestController
@RequestMapping("/sysUser")
public class SysUserController{
    @Autowired
    private SysUserService sysUserService;
    

    @ApiOperation("分页查询")
    @GetMapping
    public ResponseEntity paginQuery(SysUser sysUser){
        return ResponseEntity.ok().body(sysUserService.paginQuery(sysUser));
    }

}
